projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5aaed9
)
* xfaces.c (compute_base_face): Initialize the face's stipple.
author
Jim Blandy
<jimb@redhat.com>
Thu, 17 Jun 1993 22:03:40 +0000
(22:03 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Thu, 17 Jun 1993 22:03:40 +0000
(22:03 +0000)
Although we don't use this feature now, face_eql notices it.
* xfaces.c (compute_base_face): Set cached_index to an invalid
index, to avoid an unnecessary comparison.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 41436ad4e403d6196cf42528837354c47496dcbf..8a00ece903d0ddc991fa81e72131dff91729c841 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-647,7
+647,11
@@
compute_base_face (f, face)
face->foreground = d->foreground_pixel;
face->background = d->background_pixel;
face->font = d->font;
+ face->stipple = 0;
face->underline = 0;
+
+ /* Avoid a face comparison by making this invalid. */
+ face->cached_index = -1;
}